SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 42225: Importing Microsoft Excel data might generate an application error and cause SAS® Enterprise Guide® to close

DetailsAboutRate It

Importing certain Microsoft Excel data might cause an application error as shown below, as well as cause SAS Enterprise Guide to close. This problem can occur when the .xls file is created by a vendor other than Microsoft. To attempt to circumvent the problem, open and save the data using Microsoft Excel, then import the newly saved data using SAS Enterprise Guide.

If the newly saved data continues to cause an application error in SAS Enterprise Guide, then contact SAS Technical Support.

Application Error

System.IndexOutOfRangeException

Index was outside the bounds of the array.

------------------------------ Technical Information Follows ------------------------

System.IndexOutOfRangeException: Index was outside the bounds of the array.
at SAS.Tasks.ImportData.ExcelSpecificInfo.SASCode(Boolean embedData, Boolean
accPCFFAvailable, String serverType, String& log)
at SAS.Tasks.ImportData.ImportDataModel.Run(ISASTaskTextWriter LogWriter)
at SAS.Shared.AddIns.Management.AddInProxy.Run(ISASTaskTextWriter LogWriter)
at
SAS.EG.ProjectElements.EGTask.CustomJobExecutionThroughSasTaskExecution(Job job)
at SAS.EG.ProjectElements.EGTask.OnJobExecuting(Job job)
at SAS.EG.ProjectElements.SubmitableElement.HandleJobExecuting(Object sender,
EventArgs e)
at SAS.EG.JobManagement.JobSequenceManager.OnExecuting(EventArgs e)
at SAS.EG.JobManagement.JobSequenceManager.HandleJobExecuting(Object sender,
EventArgs e)
at SAS.EG.JobManagement.Job.OnExecuting(EventArgs e)
at SAS.EG.JobManagement.Job.Execute()
at SAS.EG.JobManagement.Job.HandleJobUnblocked(Object state, Boolean
timedOut)
at
System.Threading._ThreadPoolWaitOrTimerCallback.WaitOrTimerCallback_Context(Obje
ct state, Boolean timedOut)
at
System.Threading._ThreadPoolWaitOrTimerCallback.WaitOrTimerCallback_Context_f(Ob
ject state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state)
at
System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Objec
t state, Boolean timedOut)

------------------------------ End of Technical Information --------------------------



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise GuideMicrosoft® Windows® for x644.35.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition4.35.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition4.35.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Standard Edition4.35.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 for x644.35.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 20084.35.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 2008 for x644.35.19.2 TS2M39.3 TS1M0
Microsoft Windows XP Professional4.35.19.2 TS2M39.3 TS1M0
Windows 7 Enterprise 32 bit4.35.19.2 TS2M39.3 TS1M0
Windows 7 Enterprise x644.35.19.2 TS2M39.3 TS1M0
Windows 7 Home Premium 32 bit4.35.19.2 TS2M39.3 TS1M0
Windows 7 Home Premium x644.35.19.2 TS2M39.3 TS1M0
Windows 7 Professional 32 bit4.35.19.2 TS2M39.3 TS1M0
Windows 7 Professional x644.35.19.2 TS2M39.3 TS1M0
Windows 7 Ultimate 32 bit4.35.19.2 TS2M39.3 TS1M0
Windows 7 Ultimate x644.35.19.2 TS2M39.3 TS1M0
Windows Vista4.35.19.2 TS2M39.3 TS1M0
Windows Vista for x644.35.19.2 TS2M39.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.